package com.jinjia.ordersys.util;

import lombok.extern.slf4j.Slf4j;

/**
 * @Description: 常量工具类
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 11:14 AM 2018/10/9
 */
@Slf4j
public class ConstantUtil {

    public static final String TOKEN_HEADER = "\"error\":\"0\"";

    /**
     * 易连云相关配置
     */
    public static final String PRINT_MACHINE_CODE = "4004590981";

    public static final String PRINT_MACHINE_KEY = "pjuvt7mshin8";

    public static String ACCESS_TOKEN = null;

    public static final String CLIENT_ID = "1041568860";

    public static final String CLIENT_SECRET = "f2058d1eb946624e327ff0fbe4c49eea";

    /**
     * 小程序AppId
     */
    public static final String APP_ID = "wx1f644ffec5a5ecbd";

    /**
     * 小程序AppSecret
     */
    public static final String APP_SECRET = "89e677bbbec31f4583ad255461038be2";

    /**
     * 微信小程序登录URL
     */
    public static final String WEIXIN_LOGIN = "https://api.weixin.qq.com/sns/jscode2session";

    /**
     * 微信小程序请求接口-获取TokenURL
     */
    static final String WEIXIN_TOKEN = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/send?access_token=";

    public static final String AUTH_ORIZATION_CODE = "authorization_code";

    static final String CLIENT_CREDENTIAL = "client_credential";

    /**
     * 查询参数为空
     */
    public static final String PARAM_ISNULL = "参数为空";

    /**
     * 未找到该用户
     */
    public static final String PERSON_IS_NULL = "为找到该用户";

    /**
     * 手机号不一致
     */
    public static final String PHONE_IS_ERROR = "手机号不一致";

    /**
     * 商品列表为空
     */
    public static final String GOODSLIST_ISNULL = "商品列表为空";

    /**
     * 操作失败
     */
    public static final String FAILED = "操作失败";

}